package org.example.Server.model.examination;

import lombok.Data;
import org.example.Server.model.paper.PaperFormat;

import java.awt.print.PageFormat;
import java.util.List;

/**
 * 在线考试学生详情返回的问答题
 */
@Data
public class ExamSel extends PaperFormat {
    /**
     * Integer paper_id;
     * String qs_type;//试题类型
     * Integer paper_format_id;//主键
     * String format_content;//命名
     * <p>
     * Double format_score;//该题型总分
     * Integer format_qs_cnt;//该题型总数
     */
    List<ExamStuSel> items;//题目以及选项

    public ExamSel() {
    }

    public ExamSel(PaperFormat paperFormat) {
        this.setPaper_id(paperFormat.getPaper_id());
        this.setPaper_format_id(paperFormat.getPaper_format_id());
        this.setQs_type(paperFormat.getQs_type());
        this.setFormat_content(paperFormat.getFormat_content());
        this.setFormat_score(paperFormat.getFormat_score());
        this.setFormat_qs_cnt(paperFormat.getFormat_qs_cnt());
    }
}
